/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using iMES.Entity.SystemModels;

namespace iMES.Entity.DomainModels
{
    [Entity(TableCnName = "分拣明细",TableName = "FJDetail",DBServer = "SysDbContext")]
    public partial class FJDetail:SysEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="id")]
       [MaxLength(50)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///日期
       /// </summary>
       [Display(Name ="日期")]
       [MaxLength(50)]
       [Column(TypeName= "datetime")]
       [Editable(true)]
       public DateTime date { get; set; }

       /// <summary>
       ///合格数量
       /// </summary>
       [Display(Name ="合格数量")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? passedcount { get; set; }

       /// <summary>
       ///不合格数量
       /// </summary>
       [Display(Name ="不合格数量")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? failedcount { get; set; }

       /// <summary>
       ///规格
       /// </summary>
       [Display(Name ="规格")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string size { get; set; }

       /// <summary>
       ///规格Code
       /// </summary>
       [Display(Name ="规格Code")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string sizeCode { get; set; }

       /// <summary>
       ///规格释意
       /// </summary>
       [Display(Name ="规格释意")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string sizeDesc { get; set; }

       
    }
}